package com.laowu.mapper;

import com.laowu.annotation.Insert;
import com.laowu.bean.User;

/**
 * @author WJG
 * @date 2020/3/24 17:13
 * @desc mapper接口
 */
public interface UserMapper {

    User getUserById(String id);

    @Insert("insert into user values(?, ?, ?)")
    int saveUser(User user);
}
